package com.lds.portal.controller;

import com.lds.portal.common.properties.RemoteAddressProperties;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/remote-address")
@RequiredArgsConstructor
public class RemoteAddressController {
    private final RemoteAddressProperties remoteAddressProperties;

    @RequestMapping("/properties")
    public RemoteAddressProperties properties() {
        return remoteAddressProperties;
    }
}
